package cn.minhx.domain.strategy.service.rule.filter;

import cn.minhx.domain.strategy.model.entity.RuleActionEntity;
import cn.minhx.domain.strategy.model.entity.RuleMatterEntity;

/**
 * 抽奖规则过滤接口
 *
 * @param <T> 泛型
 * @author min
 */
public interface ILogicFilter<T extends RuleActionEntity.RaffleEntity> {

    /**
     * 规则过滤
     *
     * @param ruleMatterEntity 物料
     * @return 过滤结果
     */
    RuleActionEntity<T> filter(RuleMatterEntity ruleMatterEntity);

}